
    @media (max-width: 420px) {

        .slider {
            width: 100%;
            max-width: 420px;
            height: 140px;
            /* image choti */
            margin: auto;
            position: relative;
            overflow: hidden;
            border-radius: 10px;
        }

        .slider img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            /* image choti aur full dikhegi */
            background: #000;
            /* empty space black */
        }


        .buttons button {
            width: 30px;
            height: 30px;
            font-size: 14px;
        }
    }



    /* home page  */
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Poppins', sans-serif;
        line-height: 1.6;
        background: #f4f6f9;
    }

    a {
        text-decoration: none;
    }

    .container {
        color: white;
        width: 90%;
        max-width: 1200px;
        margin: auto;
        text-decoration: none;
    }

    #WhatsApp3 {
        color: white;
    }

    .top-bar {
        background: #000;
        color: #fff;
        padding: 8px 0;
        font-size: 14px;
    }

    .top-bar span {
        margin-right: 15px;
    }

    /*  HEADER */
    header {
        background: #003366;
        color: #fff;
        padding: 20px 0;
    }

    .header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .logo h1 {
        font-size: 30px;
    }

    .logo p {
        font-size: 14px;
        color: #ffcc00;
    }

    nav ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
    }

    nav ul li {
        margin-left: 20px;
    }

    nav ul li a {
        color: #fff;
        font-weight: bold;
    }

    .menu-btn {
        display: none;
        font-size: 30px;
        cursor: pointer;
        color: #fff;
    }


    /* side bare manu  */
    @media (max-width: 420px) {

        .header-flex {
            position: relative;
        }

        .menu-btn {
            display: block;
            
        }

        nav {
            position: absolute;
            top: 100%;
            left: 90px;
            width: 80%;
            background: #003366;
            display: none;
        }

        nav ul {
            flex-direction: column;
            padding: 15px 0;
        }

        nav ul li {
            margin: 12px 0;
            text-align: center;
        }

        nav.show {
            display: block;
        }

        .logo h1 {
            font-size: 22px;
        }
    }

    /* ================= SLIDER (Desktop & Global) ================= */
    .slider {
        width: 100%;
        max-width: 100%;
        /* Full Width */
        height: 400px;
        /* Height increased for big look */
        margin: 0px 0 0px 0;
        /* Gap above and below slider */
        position: relative;
        overflow: hidden;
        border-radius: 0;
        /* Sharp edges for full width */
        box-shadow: none;
    }

    .slider img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Image fits perfectly */
        transition: opacity 0.7s ease-in-out;
        /* For fade effect */
    }

    .buttons {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
        padding: 0 20px;
        pointer-events: none;
        z-index: 10;
    }

    .buttons button {
        pointer-events: auto;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.8);
        color: #003366;
        border: none;
        font-size: 20px;
        cursor: pointer;
        transition: 0.3s;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .buttons button:hover {
        background-color: #000000;
        color: #fff;
    }

    /* Mobile Slider Adjustments */
    @media (max-width: 420px) {
        .slider {
            max-width: 100%;
            height: 220px;
            border-radius: 0;
            margin-bottom: 0;
        }

        .buttons button {
            width: 35px;
            height: 35px;
            font-size: 16px;
        }
    }


    /* HERO SECTION */
    .hero {
        background: linear-gradient(45deg, #003366, #004080);
        color: #ffffff;
        padding: 120px 0;
        text-align: center;
    }

    #WhatsApp2 {
        color: #25D366;
    }

    .hero h2 {
        font-size: 48px;
        font-weight: bold;
    }

    .hero p {
        margin: 20px 0;
        font-size: 20px;
        opacity: 0.9;
    }

    .hero button {
        /* background: linear-gradient(45deg, #000000, #ffcc00); */
        background-color: #ffffff;
        border: none;
        padding: 15px 30px;
        font-size: 18px;
        cursor: pointer;
        color: #000000;
        border-radius: 30px;
        font-weight: bold;
        transition: 0.3s;
        /* box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3); */
    }

    .hero button:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    }

    /* course ke liye */
    .courses {
        width: 80%;
        margin: auto;
        text-align: center;
        padding: 100px 0;
    }

    .courses h1 {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .courses p {
        color: #777;
        margin-bottom: 40px;
    }

    .course-row {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: space-between;
    }

    .course-card {
        flex: 1;
        min-width: 280px;
        background: #fff;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        text-align: left;
        border: 1px solid #eee;
    }

    .course-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .course-card i {
        font-size: 35px;
        color: #f44336;
        margin-bottom: 15px;
    }

    .course-card h3 {
        margin-bottom: 10px;
        color: #333;
    }

    .course-card p {
        font-size: 15px;
        color: #555;
        margin-bottom: 6px;
    }


    .courses {
        width: 80%;
        margin: auto;
        text-align: center;
        padding: 100px 0;
    }

    .courses h1 {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .courses p {
        color: #777;
        margin-bottom: 40px;
    }

    .course-row {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: space-between;
    }

    .course-card {
        flex: 1;
        min-width: 280px;
        background: #fff;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        text-align: left;
        border: 1px solid #eee;
    }

    .course-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .course-card i {
        font-size: 35px;
        color: #f44336;
        margin-bottom: 15px;
    }

    .course-card h3 {
        margin-bottom: 10px;
        color: #333;
    }

    .course-card p {
        font-size: 15px;
        color: #555;
        margin-bottom: 6px;
    }

    #bootem {
        margin-bottom: 20px;
    }



    /* .faculty {
    width: 80%;
    margin: auto;
    text-align: center;
    padding: 100px 0;
    background: #f8f9fa;
}

.faculty h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.faculty p {
    color: #777;
    margin-bottom: 40px;
}


.faculty-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}


.faculty-card {
    flex: 1;
    min-width: 250px;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


.faculty-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}


.faculty-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.faculty-card p {
    color: #555;
    font-size: 15px;
    margin-bottom: 5px;
} */


    /* hostel ke bara me  */
    .hostel {
        background: #ffffff;
        padding: 60px 0;
        text-align: center;
    }

    .hostel h2 {
        font-size: 32px;
        margin-bottom: 15px;
        color: #003366;
    }

    .hostel-intro {
        max-width: 700px;
        margin: auto;
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hostel-box {
        background: #f4f6f9;
        padding: 25px;
        margin: 15px auto;
        max-width: 500px;
        border-radius: 8px;
    }

    .hostel-box h3 {
        color: #ff9900;
        margin-bottom: 10px;
    }

    .hostel-box ul {
        list-style: none;
        padding: 0;
    }

    .hostel-box ul li {
        padding: 6px 0;
        font-size: 15px;
    }

    .hostel-btn {
        display: inline-block;
        margin-top: 25px;
        background: #ff9900;
        color: #fff;
        padding: 14px 30px;
        border-radius: 5px;
        font-weight: bold;
    }

    .hostel-gallery {
        background: #f4f6f9;
        padding: 60px 0;
        text-align: center;
    }

    .hostel-gallery h2 {
        font-size: 32px;
        color: #003366;
        margin-bottom: 10px;
    }

    .gallery-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        color: #555;
    }

    /* Grid Layout */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    /* Image Box */
    .gallery-item {
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
        background: #fff;
    }

    /* Image */
    .gallery-item img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    /* Hover Effect */
    .gallery-item:hover img {
        transform: scale(1.1);
    }


    /* --------- Contact Page ---------- */

    /* *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
} */

    /* MAP */
    .location {
        width: 80%;
        margin: auto;
        padding: 80px 0;
    }

    .location iframe {
        width: 100%;
        height: 450px;
        border: 0;
    }

    /* CONTACT SECTION */
    .contact-us {
        width: 80%;
        margin: auto;
    }

    /* ROW FLEX */
    .row {
        display: flex;
        justify-content: space-between;
        gap: 30px;
        flex-wrap: wrap;
    }

    .contact-col {
        flex: 1;
        min-width: 300px;
    }

    .contact-col div {
        display: flex;
        align-items: center;
        margin-bottom: 30px;
    }

    .contact-col div i {
        font-size: 28px;
        color: #f44336;
        margin-right: 20px;
    }

    .contact-col h5 {
        font-size: 20px;
        color: #555;
        margin-bottom: 5px;
        font-weight: 400;
    }

    .contact-col p {
        color: #777;
    }

    /* FORM */
    .contact-col input,
    .contact-col textarea {
        width: 100%;
        padding: 15px;
        margin-bottom: 17px;
        border: 1px solid #ccc;
        outline: none;
    }

    /* BUTTON */
    .hero-btn {
        width: 200px;
        padding: 12px;
        background: #7ca9e4;
        color: #fff;
        border: none;
        cursor: pointer;
    }

    .hero-btn:hover {
        background: #04acd6;
    }

    /* =========================================
   NEW SECTIONS DESIGN (BEAUTIFUL UI)
   ========================================= */

    /* About Home Section */
    .about-home {
        padding: 100px 0;
        background: #fff;
    }

    .about-home .container {
        display: flex;
        align-items: center;
        gap: 50px;
        flex-wrap: wrap;
    }

    .about-content {
        flex: 1;
        min-width: 300px;
    }

    .about-content h2 {
        font-size: 36px;
        color: #003366;
        margin-bottom: 20px;
        border-bottom: 3px solid #ff9900;
        display: inline-block;
        padding-bottom: 5px;
    }

    .about-content p {
        margin-bottom: 15px;
        color: #444;
        font-size: 17px;
        line-height: 1.8;
    }

    .about-img {
        flex: 1;
        min-width: 300px;
    }

    .about-img img {
        width: 100%;
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s;
    }

    .about-img img:hover {
        transform: scale(1.02);
    }

    .btn {
        display: inline-block;
        /* background: linear-gradient(45deg, #ff9900, #ffcc00); */
        background-color: rgb(0, 0, 0);
        color: #fff;
        padding: 12px 30px;
        border-radius: 30px;
        margin-top: 15px;
        font-weight: bold;
        transition: 0.3s;
    }

    .btn:hover {
        transform: translateY(-3px);
        /* box-shadow: 0 6px 15px rgba(255, 153, 0, 0.4); */
    }

    /* Stats Section */
    .stats-home {
        background: linear-gradient(to right, #003366, #004080);
        padding: 60px 0;
        color: #fff;
        text-align: center;
    }

    .stats-flex {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-box h3 {
        font-size: 50px;
        color: #ffcc00;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .stat-box p {
        font-size: 20px;
        opacity: 0.9;
    }

    /* Why Choose Us */
    .why-choose {
        padding: 100px 0;
        background: #f8f9fa;
        text-align: center;
    }

    .why-choose h2 {
        font-size: 36px;
        color: #003366;
        margin-bottom: 50px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .feature-box {
        background: #fff;
        padding: 40px 20px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        transition: 0.3s;
        border-bottom: 4px solid transparent;
    }

    .feature-box:hover {
        transform: translateY(-10px);
        border-bottom: 4px solid #ff9900;
    }

    .feature-box i {
        font-size: 50px;
        color: #ff9900;
        margin-bottom: 20px;
    }

    .feature-box h3 {
        margin-bottom: 15px;
        color: #333;
        font-size: 22px;
    }

    .feature-box p {
        color: black;
    }

    /* Testimonials */
    .testimonials {
        padding: 100px 0;
        background: #fff;
        text-align: center;
    }

    .testimonials h2 {
        font-size: 36px;
        color: #003366;
        margin-bottom: 50px;
    }

    .testimonial-row {
        display: flex;
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
    }

    .testimonial-card {
        background: #fff;
        padding: 40px;
        border-radius: 15px;
        max-width: 500px;
        text-align: left;
        border-left: 5px solid #ff9900;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        position: relative;
    }

    .testimonial-card::before {
        content: "\201C";
        /* Quote icon */
        font-size: 80px;
        color: #f0f0f0;
        position: absolute;
        top: -10px;
        left: 20px;
        z-index: 0;
    }

    .testimonial-card p {
        font-style: italic;
        color: #555;
        margin-bottom: 20px;
        font-size: 18px;
        position: relative;
        z-index: 1;
    }

    .testimonial-card h4 {
        color: #003366;
        text-align: right;
        font-weight: bold;
        font-size: 16px;
    }

    /* NEW CTA Section */
    .cta-section {
        padding: 80px 0;
        text-align: center;
        /* background: linear-gradient(45deg, #ffffff, #000000); */
        background-color: rgb(238, 231, 231);
        color: #fff;
    }

    .cta-section h2 {
        color: black;
        font-size: 38px;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .cta-section p {
        color: black;
        font-size: 18px;
        margin-bottom: 30px;
        opacity: 0.9;
    }

    .cta-section .btn {
        background: #000000;
        color: #ffffff;
    }

    /* =========================================
   NEW ADDITIONS (News & Gallery)
   ========================================= */

    /* News Ticker */
    .news-container {
        background: #003366;
        color: white;
        display: flex;
        align-items: center;
        overflow: hidden;
        border-bottom: 2px solid #ff9900;
    }

    .news-title {
        background: #ff9900;
        padding: 10px 20px;
        font-weight: bold;
        z-index: 10;
        white-space: nowrap;
    }

    .news-marquee {
        flex: 1;
        padding: 10px;
        font-size: 16px;
        font-weight: 500;
    }

    /* Home Gallery */
    .home-gallery {
        padding: 80px 0;
        background: #f4f6f9;
        text-align: center;
    }

    .home-gallery h2 {
        font-size: 36px;
        color: #003366;
        margin-bottom: 40px;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .gallery-grid img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 15px;
        transition: 0.4s;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .gallery-grid img:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    /* =========================================
   NEW SECTIONS (Video & Enquiry)
   ========================================= */

    /* Video Section */
    .video-section {
        padding: 80px 0;
        background: #fff;
        text-align: center;
    }

    .video-section h2 {
        font-size: 36px;
        color: #003366;
        margin-bottom: 40px;
    }

    .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 Aspect Ratio */
        height: 0;
        overflow: hidden;
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Enquiry Form Section */
    .enquiry-section {
        padding: 80px 0;
        background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=1000&q=80') center/cover fixed;
        color: white;
        text-align: center;
    }

    .enquiry-box {
        max-width: 600px;
        margin: auto;
        background: rgba(255, 255, 255, 0.1);
        padding: 40px;
        border-radius: 15px;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* =========================================
   SCROLL TO TOP BUTTON
   ========================================= */
    #scrollTopBtn {
        display: none;
        /* Hidden by default */
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 99;
        font-size: 20px;
        border: none;
        outline: none;
        background-color: #000000;
        color: white;
        cursor: pointer;
        padding: 15px;
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        transition: 0.3s;
        width: 50px;
        height: 50px;
    }

    #scrollTopBtn:hover {
        background-color: #003366;
        transform: translateY(-5px);
    }



    @media (max-width: 768px) {
        .hero h2 {
            font-size: 32px;
        }

        .hero p {
            font-size: 16px;
        }

        .about-home,
        .stats-home,
        .why-choose,
        .testimonials,
        .video-section,
        .enquiry-section {
            padding: 50px 0;
        }

        .stat-box {
            margin-bottom: 20px;
        }

        .stat-box h3 {
            font-size: 36px;
        }

        .enquiry-box {
            padding: 20px;
        }
    }

    @media(max-width: 410px) {
        .text-box h1 {
            font-size: 20px;
        }

        .nav-links ul li {
            display: block;
        }

        .nav-links {
            position: absolute;
            position: fixed;
            background: #f44336;
            height: 100vh;
            width: 200px;
            top: 0;
            right: -200px;
            text-align: left;
            z-index: 2;
            transition: 1s;

        }

        nav .fa {
            display: block;
            color: #fff;
            margin: 10px;
            font-size: 22px;
            cursor: pointer;
        }

        .nav-links ul {
            padding: 30px;
        }

    }

    /* Video Thumbnail Overlay */
    .video-thumbnail {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
        background: #000;
        border-radius: 15px;
        overflow: hidden;
    }

    .video-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.8;
        transition: 0.3s;
    }

    .video-thumbnail:hover img {
        opacity: 0.6;
    }

    .play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 40px;
        color: #fff;
        background: rgba(91, 89, 89, 0.9);
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        /* box-shadow: 0 0 20px rgba(255, 153, 0, 0.6); */
        transition: 0.3s;
    }

    .video-thumbnail:hover .play-btn {
        transform: translate(-50%, -50%) scale(1.1);
        /* background: #ff9900; */
    }

    /* Video Modal Popup (Bada Div) */
    .video-modal {
        display: none;
        /* Hidden by default */
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        /* Dark background */
        justify-content: center;
        align-items: center;
    }

    .video-modal-content {
        position: relative;
        width: 90%;
        max-width: 800px;
        /* Bada size */
        aspect-ratio: 16/9;
        background: #000;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }

    .video-modal-content iframe,
    .video-modal-content video {
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }

    .close-modal {
        position: absolute;
        top: -40px;
        right: 0;
        color: #fff;
        font-size: 35px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }

    .close-modal:hover {
        color: #ff9900;
    }

    /* Student Page Slider Buttons */
    .nav-btn {
        background-color: rgba(255, 255, 255, 0.8);
        color: #003366;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 20px;
        cursor: pointer;
        transition: 0.3s;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-btn:hover {
        background-color: #ff9900;
        color: #fff;
    }